package com.avblog.console.component;

import javax.swing.JButton;

public class ToolBarButton extends JButton{

	private int command = 0;
	
	public ToolBarButton(){
		super();
	}
	
	public ToolBarButton(String caption){
		super(caption);
	}
	
	public ToolBarButton(String caption, int command){
		super(caption);
		this.command = command;
	}
	
	public void setCommand(int cmd){
		command = cmd;
	}
	
	public int getCommand(){
		return command;
	}
}
